package org.hcyspartnoc.demo.pojo.dto.system;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
public class SysPermissionBindingRoleDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "角色id不能为空")
    private Integer roleId;
    @NotNull(message = "权限id不能为空")
    private Integer permissionId;
}
